package com.java.day13.hashMap;

import java.util.Properties;

/**
 * 键值对
 */
public class MapDemo {
    public static void main(String[] args) {
        Properties properties = System.getProperties();
        properties.forEach((k,v)-> System.out.println(k+"="+v));

        System.setProperty("appName","斗地主");
        String p = System.getProperty("appName");
        System.out.println(p);
    }
}
